﻿namespace ProduceBasicData.Api.DTO.DeviceDto.ProjectDto
{
    /// <summary>
    /// 项目维护Dto
    /// </summary>
    public class ProjectMaintenanceDto
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string? ProjectCode { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string? ProjectName { get; set; }

        /// <summary>
        /// 检验方式
        /// </summary>
        public string? InspectionMethod { get; set; }

        /// <summary>
        /// 值类型
        /// </summary>
        public string? ValueType { get; set; }

        /// <summary>
        /// 数值判断基准
        /// </summary>
        public string? NumericCriteria { get; set; }

        /// <summary>
        /// 布尔判断基准
        /// </summary>
        public bool? BooleanCriteria { get; set; }

        /// <summary>
        /// 文本判断基准
        /// </summary>
        public string? TextCriteria { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 软删除标识
        /// </summary>
        public bool Isdel { get; set; } = false;
    }
}
